import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.Statement;

public class MyCreateMain {

	public static void main(String[] args) throws ClassNotFoundException,
			SQLException {

		String url = "jdbc:hsqldb:file:mytest";
		Class.forName("org.hsqldb.jdbcDriver");
		Connection connection = DriverManager.getConnection(url);

		Statement statement = connection.createStatement();

		StringBuilder stringBuilder = new StringBuilder();
		stringBuilder.append("		CREATE TABLE USER(\n");
		stringBuilder.append("				id INTEGER NOT NULL,\n");
		stringBuilder.append("				name VARCHAR(10)\n");
		stringBuilder.append("		)\n");
		stringBuilder.append("");
		String statementString = stringBuilder.toString();

		statement.execute(statementString);
		statement.close();
		connection.close();
	}
}
